package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {
    private Integer id;//id
    private String name;//姓名
    private String no;//学号
    private Integer gender;//性别
    private String phone;//手机号
    private String idCard;//身份证号
    private Integer isCollege;//是否学院
    private String address;//地址
    private Integer degree;//学位
    private LocalDate graduationDate;//毕业时间
    private Integer clazzId;//班级id
    private Integer violationCount;//违章次数
    private Integer violationScore;//违章分数
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    //存储班级名称
    private String clazzName;

}
